package com.hsylient.Proxypattern.cglibproxy;

public class TestCglibProxy {
    public static void main(String[] args) {
        Worker worker = new Worker();
        Worker proxyInstance = (Worker) new WorkerProxy(worker).getProxyInstance();
        proxyInstance.work();
    }
}
